package router

import (
	"github.com/gin-gonic/gin"
	v1 "guns-go/controller/v1"
)

func InitSysFileInfoRouter(Router *gin.RouterGroup) (R gin.IRoutes) {
	FileInfoRouter := Router.Group("sysFileInfo")
	{
		FileInfoRouter.POST("upload", v1.Upload)
		FileInfoRouter.GET("page", v1.SysFileInfoPage)
		FileInfoRouter.GET("download", v1.Download)
		FileInfoRouter.POST("delete", v1.SysFileInfoDelete)
	}
	return FileInfoRouter
}
